package com.xufei.storage.feign;

import com.xufei.common.domain.storage.Storage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name="xufei-gateway")
public interface StorageFeignClient {
    @PostMapping("/storage/updateResidue")
    void updateResidue(@RequestBody Storage storage);
}
